build: fix gi-docgen detection in cross builds
authorMichal Vasilek <michal@vasilek.cz>
Sun, 18 Sep 2022 18:48:21 +0000 (20:48 +0200)
committerMichal Vasilek <michal@vasilek.cz>
Mon, 19 Sep 2022 23:27:26 +0000 (01:27 +0200)
commit98796d4513f04cb2f4dbe55fa55af4504b1ac610
treead30cd604088e990dcb4f4eea756fdfcec2f9334
parent2bbf7d267ad063d683db8a2b533255657c848409
build: fix gi-docgen detection in cross builds

gi-docgen is supposed to be ran natively on the build machine, without
native: true dependency() searches for gi-docgen on the host system.
When it doesn't find it, it falls back to a subproject even if gi-docgen
is available on the build machine.

also make gtk_doc require introspection
meson.build